// 引入css
import './css/index.css';
import request from './request/index'

const btn: HTMLElement = document.getElementById('btn')!;
btn.onclick = function(){
    request.post('/user/register', {
        "telephone": "15225336579",
        "password": "123456"
    }).then(res => {
        console.log(res)
    })
}